<?php
/**
 * cms首页
 *
 *
 *
 
 */

// use Shopnc\Tpl;
defined('InShopNC') or exit('Access Invalid!');

class mb_specialControl extends mobileHomeControl
{

    public function __construct()
    {
        parent::__construct();
    }
    
    /**
     * 专题活动详情
     */
    public function special_detailOp() {
        $model_mb_special = Model('mb_special');
        
        $special_item_list = $model_mb_special->getMbSpecialItemUsableListByWpClass($_POST['special_id']);
        $model_wp_class = Model('wp_class');
        $wp_class = $model_wp_class->getWpClassInfoByID(intval($_POST['special_id']));
        $wp_class['class_img_url'] = UPLOAD_SITE_URL . '/' . ATTACH_MOBILE . '/wp_class' . '/' . $wp_class['class_img'];
    
        output_data(array(
            'special_item_list' => $special_item_list,
            'wp_class' => $wp_class
        ));
    }
    
}